package dem1;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-04-07
 * Time: 23:02
 */
public class Test {
    public static void main(String[] args) {
        char a = 'b';
        sub(a);
        List<Integer> list = new ArrayList<>();
        list.add(3);
        boolean b = list.remove();
    }

    public static void func(String str1, String str2){
        List<Character> list = new ArrayList<>();
        for (int i = 0; i < str1.length(); i++) {
            list.add(str1.charAt(i));
        }
        for (int i = 0; i < str2.length(); i++) {
            Character ch = str2.charAt(i);
            while (list.remove(ch)){
                ;
            }
        }
    }

    public static void sub(int n){
        System.out.println("我乃上将林黛玉");
    }
    public static void sub(char n){
        System.out.println("你莫不是消遣洒家");
    }
}
